#include <stdio.h>
#include <string.h>

#define MAX 255

int main() {
    char string[MAX];
    int len, yes = 1, i, j, n;

    scanf("%s", string);
    len = strlen(string);

    for (i = 0, j = len - 1, n = len / 2; i < n; i++) {
        if (string[i] != string[j--]) {
            yes = 0;
            break;
        }
    }
    if (yes) {
        printf("Yes\n");
    } else {
        printf("No\n");
    }
    
    return 0;
}
